echo
echo "===== Checking..."
echo

echo "==/ Linux information:"
echo

uname
uname -r

echo
echo "==/ WIT and WSZST info:"
echo

wit --version
wszst --version

echo
echo "==/ Default Java:"
echo

java -version

echo
echo "- Java JRE 11 or greater for Whitehole Despag"
echo "- Java JRE 17 for Whitehole v1.7"

echo
echo "==/ Python 3.5 (required for j3dview):"
echo

python3.5 --version

echo

python3.5 --version > /dev/null 2>&1 && (

echo "For Python 3.5..."
echo

python3.5 -m pip show PyQt5 > /dev/null 2>&1 && echo - PyQt5 Module is INSTALLED
python3.5 -m pip show PyQt5 > /dev/null 2>&1 || echo - PyQt5 Module is NOT INSTALLED

python3.5 -m pip show PyOpenGL > /dev/null 2>&1 && echo - PyOpenGL Module is INSTALLED
python3.5 -m pip show PyOpenGL > /dev/null 2>&1 || echo - PyOpenGL Module is NOT INSTALLED

python3.5 -m pip show NumPy > /dev/null 2>&1 && echo - NumPy Module is INSTALLED
python3.5 -m pip show NumPy > /dev/null 2>&1 || echo - NumPy Module is NOT INSTALLED

python3.5 -m pip show Cython > /dev/null 2>&1 && echo - Cython Module is INSTALLED
python3.5 -m pip show Cython > /dev/null 2>&1 || echo - Cython Module is NOT INSTALLED

echo

)

echo
echo "==/ Python 3.7 (minimun Python version required for j3d-animation-editor):"
echo

python3.7 --version

echo

python3.7 --version > /dev/null 2>&1 && (

echo "For Python 3.7..."
echo

python3.5 -m pip show PyQt5 > /dev/null 2>&1 && echo - PyQt5 Module is INSTALLED
python3.5 -m pip show PyQt5 > /dev/null 2>&1 || echo - PyQt5 Module is NOT INSTALLED

echo

)

echo
echo ===== Finished checking.
echo

echo

read -rsp $'Press any key to continue...\n' -n 1 key
echo

exit 0

